package com.duplicate;

public class RemoveLastTwoCharFromString {
public static void main(String[] args) {
	String str="deepak12";
	System.out.println("String after removed : "+removeString(str));
}
private static String removeString(String str){
	return str.substring(0,str.length()-2);
}
}
